All Questions
Tagged with executablepermissions
84 questions
0votes
1answer
772views
Does a user need executable permissions to be able to run du (disk usage)? [duplicate]
I am observing the following behaviour, and want to know if it is expected. I am trying to run disk usage ( du ) as user2 on a directory test_directory which is owned by user1. If I change the ...
-3votes
2answers
822views
What is the effect of the "s" permission bit on a file?
I have two files with the following permissions: -rwsr--r-- 1 root root 213 Oct 22 12:15 f1 -r--rwxr-- 1 Bob staff 113 Oct 22 12:18 f4 Can the user Bob execute f1 and why? What is the effect of the ...
2votes
2answers
1kviews
Give executable permissions to binary files on a USB
I have a desktop application that provides the user with a tarball (.tar.gz) that they can unpack to find the binary that can be run with executable permissions which starts the overall program. This ...
0votes
1answer
705views
Files get executable when copied
So I just bought a new Samsung T7 Portable SSD. I initially intended to format it to exFAT, for use with both Windows, MacOS and Linux, but upon inspection, the disk comes with a default file system ...
1vote
1answer
106views
Is "running a folder" possible in Linux?
Is there a philosophy behind running a folder as an executable in linux? user@node main % ls -lash ./bin total 0 0 drwxrwxrwx 2 user staff 64B May 23 21:04 . 0 drwxr-xr-x 6 user staff 192B ...
0votes
1answer
1kviews
Why would I give the execute permission for txt file (non-script) file
In this article we see x permission is added to myfile.txt: mode of `myfile.txt' changed to 0751 (rwxr-x--x) What is execute permission in the context of non-script file? When would I need ...
0votes
1answer
107views
Unable to exec programs, parent directory symbolic link, btrfs mdadm drive
I'm not sure what to try next to resolve this issue. ~ 🌝 cat /etc/fstab # /dev/sdg1 /mnt/d/ ntfs noatime,nodiratime,users,noauto,x-systemd.automount,autodefrag 0 0 /dev/md127 /mnt/d btrfs ...
0votes
1answer
526views
Allow user to run nonpermissive commands in shell script (KSH)
I have a ksh script I am developing for work. (I am on the newer side to shell-scripting) I have root access but the future-users of this script will not. Say the other user is named User1. Within the ...
1vote
1answer
82views
is there a reason to revoke write permission for executables in /usr/bin
I have encountered a package which installs its binaries with permission 555 instead of usual 755 in /usr/bin, i.e. prohibiting writing for everyone. I do not understand the reason for doing so... Can ...
1vote
1answer
1kviews
VNC / Ubuntu 18.04 / xfce4: can't launch executables with a GUI
I'm using VNC remote desktop to visually access a remote Ubuntu 18.04 machine with a xfce4 GUI. VNC works fine. SSH shell works fine. The 2 programs with a graphic UI I'd like to launch are nedit (a ...
1vote
0answers
806views
can't uncheck "allow executing file as a program" from txt files
I can't remember how i have made all .txt files on my external hard-drive with NTFS executable in Ubuntu, so that whenever i double-click any .txt file on that disk or open the right-click menu, it ...
0votes
0answers
287views
Why I can't open text files when execetue "x" permission is on?
for example I have test_file and I run sudo chmod 775 test_file so now while I'm the owner I can read,write and execute it but with graphical interface it doesn't work, I don't have any error messages ...
11votes
1answer
3kviews
Accidentally ran chmod +x /* - How bad did I just mess up?
I wanted to mark all of the files in the directory I was in as executable, and I ran chmod +x /* because I thought that was the command to mark all the files in the directory you were currently in as ...
0votes
1answer
2kviews
How to run external executables within firejail
My machine is home desktop(personal) running Debian Buster with i3 window manager. I recently installed firejail with apt install firejail* firetools and also downloaded the new Firefox 83 browser ...
2votes
1answer
5kviews
Fish: The file is not executable by this user
I made fish function in ~/.config/fish/functions/confgit.fish: function confgit /home/john/Projects/confgit $argv end But when I run this function it just says: fish: The file “/home/john/...